package com.base.cn.platform.os.service.manage.group;

import com.base.cn.platform.os.service.FeignAuthConfig;
import com.base.cn.platform.os.service.manage.BaseService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

/**
 * 部门与权限关联的接口
 *
 * @author s.li
 * @date 2019/02/13
 */
@FeignClient(name = BaseService.appName,configuration = FeignAuthConfig.class)
public interface SysGroupFunctionService extends BaseService {

    /**
     * 查询部门编辑页面显示的权限
     * @param condition 查询条件
     * @return 权限数据
     */
    @RequestMapping(contextPath + "/findShowGroupFunctionList")
    List<Map<String,Object>> findShowGroupFunctionList(@RequestBody Map<String, Object> condition);
}
